home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr49 / 347_01.zip / TAVL_GDT.C < prev    next >
C/C++ Source or Header  |  1993-04-13  |  531b  |  20 lines

  1. /*:file:version:date: "%n    V.%v;  %f"
  2.  * "TAVL_GDT.C    V.2;  27-Apr-91,12:10:32"
  3.  *
  4.  *  Purpose: Copy data from existing node to buffer.
  5.  *
  6.  *  Released to the PUBLIC DOMAIN
  7.  *
  8.  *               author:    Bert C. Hughes
  9.  *                          200 N.Saratoga
  10.  *                          St.Paul, MN 55104
  11.  *                          Compuserve 71211,577
  12.  */
  13.  
  14. #include "tavltree.h"
  15.  
  16. void *tavl_getdata(TAVL_treeptr tree, TAVL_nodeptr p, void *buffer)
  17. {
  18.     return (*tree->copy_item)(buffer, p->dataptr);
  19. }
  20.